﻿<!--{inc(header.view.html)}-->


<div class="header">    
    <div class="nav">
	    <ul id="nav_list">
            <li><a href="#" class="nav_icon" target="mainframe">商家列表</a></li>
            <li><a href="index.php?app=seller&act=add"  target="mainframe">添加商家</a></li>
        </ul>
    </div>          
</div>

<div id="content">
    <h1>商家列表</h1>
        <div>
             <div class="tips_show"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b>
                  <span ></span>
             </div>
<table width="100%" cellspacing="0" cellpadding="4" border="0" align="center"  class="table_style">
<tbody>
<tr>
	<td class="bold" width="7%" align="center" >ID</td>
	<td class="bold" >商家名称</td>
	<td class="bold" >官方网站</td>    

	<td class="bold" align="center" >联系电话</td>   
	<td class="bold" align="center" >所在地区</td>  
	
	<td class="bold" align="center">时间</td>
	<td class="bold" align="center" >操作</td>
</tr>

<!--{foreach($lw_data as $_key => $_value )}-->

<tr  onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	<td  align="center">
	{$_value.id}

	</td>
	<td align="center" >{$_value.sellername}</td>
	<td align="center" > <a href="{$_value.sellername}" target="_blank">{$_value.sellername}</a></td>

        
 	<td align="center" >{$_value.sellerphone}</td>
    <td align="center" >{$citylist[$_value.area]}</td>   
    

	<td align="center" >{$_value.add_time|dateymdgis}</td>
	<td align="center" >
     <a href="#" id="op_{$_key}" onMouseOver="show_menu('op_{$_key}','opdiv_{$_key}','show','left')" 

onMouseOut="show_menu('op_{$_key}','opdiv_{$_key}','hide','left')"><img src="{$web_view_dir}

style/images/menu_edit.gif" align="absmiddle" border="0" /></a>
	    <div id="opdiv_{$_key}" class="operate operate_common">
	       <a href="?app=seller&act=edit&id={$_value.id}" target="mainframe">修改</a>
	       <a href="?app=seller&act=del&id={$_value.id}" onClick="return confirm('确认删除

此项？此操作无法恢复！');">删除</a>
	    </div>                             
	</td>
</tr>

 <!--{/foreach}--> 



<style type="text/css">

.p_bar {
margin-top:5px;
}
.p_info {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}
.p_curpage {
border:1px solid #CCCCCC;
color:#FF0000;
font-weight:bold;
margin:0 2px;
padding:3px 5px;
text-align:center;
}

.p_num  {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}
.p_redirect {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}

a {
color:#003366;
text-decoration:none;
}


</style>

<tr>
	<td colspan="7">
    <div class="p_bar">
    <span class="p_info">Total:&nbsp;<b>{$lw_page.total}</b>&nbsp;&nbsp;共{$lw_page.curr.num}/{$lw_page.totalpage}页

</span>
    <a class="p_num" href="{$lw_page.head}">首页</a>
    <a class="p_num" href="{$lw_page.up}">&lt;&lt;</a>
    <a class="p_num" href="{$lw_page.up}">上一页</a>
    <span class="p_curpage">{$lw_page.curr.num}</span>
    <a  class="p_num" href="{$lw_page.down}">下一页</a>
    <a  class="p_num" href="{$lw_page.down}">&gt;&gt;</a>
    <a  class="p_num" href="{$lw_page.foot}">末页</a>    
    
    </div>
    </td>
</tr>


</tbody>
</table>
                        
    
    

                 </div>

</div>



<!--{inc(footer.view.html)}-->